home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-02
/
fulldb13.zip
/
PARSE.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-10-15
|
481b
|
26 lines
unit parse;
{ Unit to parse strings & demonstrate FULLDB }
{ Compile in the regular way, then run
FULLDB parse
to add debugging information from PARSE.OBJ to PARSE.TPU. }
interface
function wordcount(s:string):integer;
{ Count the words in s with blanks as delimiters }
function getword(n:integer;s:string):string;
{ Get word n from string s }
implementation
function wordcount; external;
function getword; external;
{$L parse.obj}
end.